package com.wsit.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 分页查询实体类
 */
@ApiModel(description = "分页查询实体类")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ServerPage {
    @ApiModelProperty(value = "服务名称", position = 1)
    private String name;//服务名称
    @ApiModelProperty(value = "服务状态", position = 2)
    private String stust;//服务状态
    @ApiModelProperty(value = "当前页码", position = 3)
    private Integer page=1;//当前页码
    @ApiModelProperty(value = "每页显示条数", position = 4)
    private Integer pageSize=5;//每页显示条数
    @ApiModelProperty(value = "创建时间", position = 5)
    private LocalDate createTime; //创建时间
    @ApiModelProperty(hidden = true)
    private LocalDate zTime;
}
